package com.haoting.mamba.match.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author tanghao
 * @email 767417609@qq.com
 * @date 2021-04-04 23:05:33
 */
@Data
@TableName("mamba_match_information")
public class MatchInformationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	/**
	 * 主场球队
	 */
	private String home;
	/**
	 * 客场球队
	 */
	private String away;
	/**
	 * 比赛时间
	 */
	private Date matchDate;
	/**
	 * 比赛状态
	 */
	@TableField(fill = FieldFill.INSERT)
	private Integer matchStatus;
	/**
	 * 主场得分
	 */
	private Integer homeScore;
	/**
	 * 客场得分
	 */
	private Integer awayScore;

}
